package com.ljm.boot.seataorderdetails;

import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@EnableAutoDataSourceProxy // 开启 Seata 数据源代理
@MapperScan("com.ljm.boot.seataorderdetails.dao") // 指定Mapper接口所在包
public class SeataOrderDetailsApplication {

	public static void main(String[] args) {
		SpringApplication.run(SeataOrderDetailsApplication.class, args);
	}

}
